package com.eascs.web.o2o.scheduler.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

/**
 * The persistent class for the customer_basic_info database table.
 * 
 */
@Entity
@Table(name = "o2o_customer")
@NamedQuery(name = "`o2o_customer.findAll", query = "SELECT c FROM o2o_customer c")
public class O2oCustomer implements Serializable {

	private static final long serialVersionUID = -256259494394877689L;

	@Id
	@Column(name = "customer_id")
	private String customerId;

	@Column(name = "customer_code")
	private String customerCode;

	@Column(name = "customer_name")
	private String customerName;

	@Column(name = "idcard")
	private String idcard;

	@Column(name = "idcard_type")
	private String idcardType;
	@Column(name = "loan_num")
	private int loanNum;
	

	@Column(name = "mate_id")
	private String mateId;
	@Column(name = "oper_time")
	private Date operTime;
	
	@Column(name = "first_loan_time")
	private Date firstLoanTime;
	public String getCustomerId() {
		return customerId;
	}
	public void setCustomerId(String customerId) {
		this.customerId = customerId;
	}
	public String getCustomerCode() {
		return customerCode;
	}
	public void setCustomerCode(String customerCode) {
		this.customerCode = customerCode;
	}
	public String getCustomerName() {
		return customerName;
	}
	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}
	public String getIdcard() {
		return idcard;
	}
	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}
	public String getIdcardType() {
		return idcardType;
	}
	public void setIdcardType(String idcardType) {
		this.idcardType = idcardType;
	}
	public int getLoanNum() {
		return loanNum;
	}
	public void setLoanNum(int loanNum) {
		this.loanNum = loanNum;
	}
	public Date getOperTime() {
		return operTime;
	}
	public void setOperTime(Date operTime) {
		this.operTime = operTime;
	}
	public Date getFirstLoanTime() {
		return firstLoanTime;
	}
	public void setFirstLoanTime(Date firstLoanTime) {
		this.firstLoanTime = firstLoanTime;
	}
	public String getMateId() {
		return mateId;
	}
	public void setMateId(String mateId) {
		this.mateId = mateId;
	}
	
	

}